package library.and.xps.com.step.m.model;

import java.util.List;

/**
 * Created by XPS on 2017/5/16.
 */

public class CreateDepartment extends BaseResponce {

    /**
     * obj : {"departmentid":3,"dname":"部门1","teamid":1,"parentid":2,"creater":0}
     * list : []
     */

    private ObjBean obj;
    private List<?> list;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }

    public static class ObjBean {
        /**
         * departmentid : 3
         * dname : 部门1
         * teamid : 1
         * parentid : 2
         * creater : 0
         */

        private int departmentid;
        private String dname;
        private int teamid;
        private int parentid;
        private int creater;

        public int getDepartmentid() {
            return departmentid;
        }

        public void setDepartmentid(int departmentid) {
            this.departmentid = departmentid;
        }

        public String getDname() {
            return dname;
        }

        public void setDname(String dname) {
            this.dname = dname;
        }

        public int getTeamid() {
            return teamid;
        }

        public void setTeamid(int teamid) {
            this.teamid = teamid;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }

        public int getCreater() {
            return creater;
        }

        public void setCreater(int creater) {
            this.creater = creater;
        }
    }
}
